package scala
import java.util.Properties


class mysql {
  val URL = "jdbc:mysql://niit-master:3307/sparkproject?useSSL=false"
  val USERNAME = "root"
  val PASSWORD = "root"

  def prpo: Properties ={
    //      Class.forName("com.mysql.jdbc.Driver")
    val connectionProperties = new java.util.Properties()
    connectionProperties.put("user", USERNAME)
    connectionProperties.put("password", PASSWORD)
    connectionProperties
  }
}
